package com.biz.primus.model.oms.vo;

import com.biz.primus.common.utils.Copier;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author yanweijin
 * @date 2017/11/8
 */
@Data
@ApiModel("订单改派请求")
public class OrderDispatchingRequest extends OrderPostRequest {

	@ApiModelProperty("改派的目标门店")
	private String targetDepotCode;

	@ApiModelProperty("改派日志")
	private String dispatchingLog;

	public OrderDispatchingRequest(OrderPostRequest req, String targetDepotCode, String dispatchingLog) {
		Copier.from(req).to(this);
		this.targetDepotCode = targetDepotCode;
		this.dispatchingLog = dispatchingLog;
	}
}
